package mainDrive;

import genericObject.GenericObject;
import house.House;
import java.util.ArrayList;

import compiler.Compiler;
import compiler.Libraries;

import calculateDistance.LineEquation;
import doorAndWindow.Door;
import doorAndWindow.OnWallObject;

import electricObjects.TV;

import objectAdder.DoorAndWindowAdder;
import objectAdder.ObjectAdder;


import pointAndLine.Line;
import pointAndLine.Point;
import returnTypes.Location;
import room.Room;
import room.RoomArray;
import tester.DoorWindowTester;
import tester.RoomTester;
import wall.Wall;

public class Runner {
	

	public static void main(String[] args)
	{		
		Compiler.executeCommand("Create Point p1 at (1,1)");
		Compiler.executeCommand("Create Point p2 at (4,4)");
		Compiler.executeCommand("Create Point p3 at (4,1)");
		Compiler.executeCommand("Create Point p4 at (1,4)");
		Compiler.executeCommand("Create Point p5 at (4,2)");
		Compiler.executeCommand("Create Point p6 at (6,2)");
		Compiler.executeCommand("Create Point p7 at (6,4)");
		Compiler.executeCommand("Create Wall w1 using p1, p3");
		Compiler.executeCommand("Create Wall w2 using p1, p4");
		Compiler.executeCommand("Create Wall w3 using p3, p2");
		Compiler.executeCommand("Create Wall w4 using p4, p2");
		Compiler.executeCommand("Create Wall w5 using p2, p5");
		Compiler.executeCommand("Create Wall w6 using p7, p6");
		Compiler.executeCommand("Create Wall w7 using p2, p7");
		Compiler.executeCommand("Create Wall w8 using p5, p6");
		Compiler.executeCommand("Create Room r1 using w1, w2, w3, w4;");
		Compiler.executeCommand("Create Room r2 using w5, w6, w7, w8;");
		Compiler.executeCommand("Create house H using r1, r2;");
		Compiler.myHouse.printSketch();
		Compiler.myHouse.printHouse();
		
	}

}
